home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / hc / newtesta.sit / New Testament HyperStack / background_2582.txt < prev    next >
Encoding:
Text File  |  1988-02-20  |  7.5 KB  |  378 lines

  1. -- background: 2582 from stack: in
  2. -- bmap block id: 11160
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: NTBk
  6. ----- HyperTalk script -----
  7.  
  8.  
  9.  
  10.  
  11. -- part 1 (field)
  12. -- low flags: 00
  13. -- high flags: 2007
  14. -- rect: left=0 top=20 right=315 bottom=512
  15. -- title width / last selected line: 0
  16. -- icon id / first selected line: 0 / 0
  17. -- text alignment: 0
  18. -- font id: 3
  19. -- text size: 12
  20. -- style flags: 0
  21. -- line height: 16
  22. -- part name: NTTop
  23. ----- HyperTalk script -----
  24. on mouseUp
  25.   set locktext of me to false
  26.   repeat 2 times
  27.     click at the clickLoc
  28.   end repeat
  29.   put "Find" && the selection
  30.   set locktext of me to true
  31.   put item 1 of the location of the message into x
  32.   put item 2 of the location of the message into y
  33.   put x + 20 into x
  34.   put y + 100 into y
  35.   click at x,y
  36. end mouseUp
  37.  
  38.  
  39. -- part 4 (button)
  40. -- low flags: 00
  41. -- high flags: 0000
  42. -- rect: left=278 top=316 right=342 bottom=313
  43. -- title width / last selected line: 0
  44. -- icon id / first selected line: 26425 / 26425
  45. -- text alignment: 1
  46. -- font id: 0
  47. -- text size: 12
  48. -- style flags: 0
  49. -- line height: 16
  50. -- part name: Next
  51. ----- HyperTalk script -----
  52. on mouseUp
  53.   visual dissolve very fast
  54.   go to next card
  55. end mouseUp
  56.  
  57.  
  58.  
  59. -- part 5 (button)
  60. -- low flags: 00
  61. -- high flags: 0000
  62. -- rect: left=186 top=316 right=342 bottom=222
  63. -- title width / last selected line: 0
  64. -- icon id / first selected line: 902 / 902
  65. -- text alignment: 1
  66. -- font id: 0
  67. -- text size: 12
  68. -- style flags: 0
  69. -- line height: 16
  70. -- part name: Prev
  71. ----- HyperTalk script -----
  72. on mouseUp
  73.   visual dissolve very fast
  74.   go to prev card
  75. end mouseUp
  76.  
  77.  
  78.  
  79. -- part 6 (button)
  80. -- low flags: 00
  81. -- high flags: 0000
  82. -- rect: left=4 top=316 right=342 bottom=33
  83. -- title width / last selected line: 0
  84. -- icon id / first selected line: 20098 / 20098
  85. -- text alignment: 1
  86. -- font id: 0
  87. -- text size: 12
  88. -- style flags: 0
  89. -- line height: 16
  90. -- part name: Home
  91. ----- HyperTalk script -----
  92. on mouseUp
  93.   visual effect dissolve
  94.   go home
  95. end mouseUp
  96.  
  97.  
  98.  
  99. -- part 7 (button)
  100. -- low flags: 00
  101. -- high flags: 0000
  102. -- rect: left=453 top=315 right=342 bottom=480
  103. -- title width / last selected line: 0
  104. -- icon id / first selected line: 8538 / 8538
  105. -- text alignment: 1
  106. -- font id: 0
  107. -- text size: 12
  108. -- style flags: 0
  109. -- line height: 16
  110. -- part name: Find
  111. ----- HyperTalk script -----
  112. on mouseUp
  113.   ask "Look for..."
  114.   searchstackfor it
  115. end mouseUp
  116.  
  117.  
  118.  
  119.  
  120. -- part 8 (button)
  121. -- low flags: 00
  122. -- high flags: 0000
  123. -- rect: left=38 top=316 right=342 bottom=74
  124. -- title width / last selected line: 0
  125. -- icon id / first selected line: 32670 / 32670
  126. -- text alignment: 1
  127. -- font id: 0
  128. -- text size: 12
  129. -- style flags: 0
  130. -- line height: 16
  131. -- part name: View
  132. ----- HyperTalk script -----
  133. on mouseUp
  134.   show all cards
  135. end mouseUp
  136.  
  137.  
  138.  
  139. -- part 9 (button)
  140. -- low flags: 00
  141. -- high flags: 2000
  142. -- rect: left=383 top=315 right=342 bottom=430
  143. -- title width / last selected line: 0
  144. -- icon id / first selected line: 0 / 0
  145. -- text alignment: 1
  146. -- font id: 0
  147. -- text size: 12
  148. -- style flags: 0
  149. -- line height: 16
  150. -- part name: Text Dump
  151. ----- HyperTalk script -----
  152. on mouseUp
  153.   answer "Export..." with "This Card" or "Whole Book" or "Cancel"
  154.   if it = "This Card" then
  155.     Ask "Save as..." with "Export"
  156.     if it <> empty then
  157.       open file it
  158.       write background field 1 to file it
  159.       close file it
  160.       answer "Text Export of file " & it & " Complete!!!"
  161.     end if
  162.   else if it = "Whole Book" then
  163.     answer "Sorry... That Function is not yet Available" with OK
  164.   end if
  165. end mouseUp
  166.  
  167.  
  168.  
  169. -- part 11 (button)
  170. -- low flags: 80
  171. -- high flags: 0000
  172. -- rect: left=467 top=315 right=342 bottom=499
  173. -- title width / last selected line: 0
  174. -- icon id / first selected line: 29114 / 29114
  175. -- text alignment: 1
  176. -- font id: 0
  177. -- text size: 12
  178. -- style flags: 0
  179. -- line height: 16
  180. -- part name: 
  181. ----- HyperTalk script -----
  182. on mouseUp
  183.   visual effect iris close
  184.   doMenu Back
  185. end mouseUp
  186.  
  187.  
  188.  
  189. -- part 17 (button)
  190. -- low flags: 00
  191. -- high flags: 0000
  192. -- rect: left=76 top=316 right=342 bottom=111
  193. -- title width / last selected line: 0
  194. -- icon id / first selected line: 0 / 0
  195. -- text alignment: 1
  196. -- font id: 0
  197. -- text size: 12
  198. -- style flags: 0
  199. -- line height: 16
  200. -- part name: New Button
  201. ----- HyperTalk script -----
  202. on mouseUp
  203.   doMenu Compact Stack
  204. end mouseUp
  205.  
  206.  
  207.  
  208. -- part 19 (button)
  209. -- low flags: 00
  210. -- high flags: 0000
  211. -- rect: left=431 top=315 right=342 bottom=452
  212. -- title width / last selected line: 0
  213. -- icon id / first selected line: 29019 / 29019
  214. -- text alignment: 1
  215. -- font id: 0
  216. -- text size: 12
  217. -- style flags: 0
  218. -- line height: 16
  219. -- part name: Top
  220. ----- HyperTalk script -----
  221. on mouseUp
  222.   visual effect iris open
  223.   go to card id 19026
  224. end mouseUp
  225.  
  226.  
  227.  
  228. -- part 20 (button)
  229. -- low flags: 80
  230. -- high flags: 0000
  231. -- rect: left=111 top=316 right=342 bottom=144
  232. -- title width / last selected line: 0
  233. -- icon id / first selected line: 0 / 0
  234. -- text alignment: 1
  235. -- font id: 0
  236. -- text size: 12
  237. -- style flags: 0
  238. -- line height: 16
  239. -- part name: HIDE  MENUBAR
  240. ----- HyperTalk script -----
  241. on mouseUp
  242.   HIDE MENUBAR
  243.   HIDE BKGND BUTTON ID 20
  244.   SHOW BKGND BUTTON ID 10
  245. end mouseUp
  246.  
  247.  
  248.  
  249. -- part 21 (button)
  250. -- low flags: 80
  251. -- high flags: 0000
  252. -- rect: left=111 top=316 right=342 bottom=144
  253. -- title width / last selected line: 0
  254. -- icon id / first selected line: 0 / 0
  255. -- text alignment: 1
  256. -- font id: 0
  257. -- text size: 12
  258. -- style flags: 0
  259. -- line height: 16
  260. -- part name: HIDE  MENUBAR
  261. ----- HyperTalk script -----
  262. on mouseUp
  263.   HIDE MENUBAR
  264.   HIDE BKGND BUTTON ID 11
  265.   SHOW BKGND BUTTON ID 21
  266. end mouseUp
  267.  
  268.  
  269.  
  270. -- part 22 (button)
  271. -- low flags: 80
  272. -- high flags: 0000
  273. -- rect: left=111 top=316 right=342 bottom=144
  274. -- title width / last selected line: 0
  275. -- icon id / first selected line: 0 / 0
  276. -- text alignment: 1
  277. -- font id: 0
  278. -- text size: 12
  279. -- style flags: 0
  280. -- line height: 16
  281. -- part name: ShowMenu
  282. ----- HyperTalk script -----
  283. on mouseUp
  284.   Show MENUBAR
  285.   HIDE BKGND BUTTON ID 22
  286.   SHOW BKGND BUTTON ID 23
  287. end mouseUp
  288.  
  289.  
  290.  
  291. -- part 25 (button)
  292. -- low flags: 00
  293. -- high flags: 0000
  294. -- rect: left=112 top=316 right=342 bottom=143
  295. -- title width / last selected line: 0
  296. -- icon id / first selected line: 0 / 0
  297. -- text alignment: 1
  298. -- font id: 0
  299. -- text size: 12
  300. -- style flags: 0
  301. -- line height: 16
  302. -- part name: Hide MenuBar
  303. ----- HyperTalk script -----
  304. on mouseUp
  305.   if the short name of me is "Hide MenuBar" then
  306.     hide menuBar
  307.     set name of me to "Show MenuBar"
  308.   else
  309.     show menuBar
  310.     set name of me to "Hide MenuBar"
  311.   end if
  312. end mouseUp
  313.  
  314.  
  315.  
  316. -- part 26 (button)
  317. -- low flags: 00
  318. -- high flags: 8004
  319. -- rect: left=222 top=320 right=340 bottom=278
  320. -- title width / last selected line: 0
  321. -- icon id / first selected line: 0 / 0
  322. -- text alignment: 1
  323. -- font id: 0
  324. -- text size: 12
  325. -- style flags: 0
  326. -- line height: 16
  327. -- part name: Clip
  328. ----- HyperTalk script -----
  329. on mouseUp
  330.   if the short name of me is "Clip" then
  331.     Set locktext of field "NTTop" to true
  332.     set name of me to "Search"
  333.   else
  334.     Set locktext of field "NTTop" to false
  335.     set name of me to "Clip"
  336.   end if
  337. end mouseUp
  338.  
  339.  
  340.  
  341. -- part 27 (button)
  342. -- low flags: 00
  343. -- high flags: 0000
  344. -- rect: left=481 top=315 right=342 bottom=509
  345. -- title width / last selected line: 0
  346. -- icon id / first selected line: 2162 / 2162
  347. -- text alignment: 1
  348. -- font id: 0
  349. -- text size: 12
  350. -- style flags: 0
  351. -- line height: 16
  352. -- part name: Back
  353. ----- HyperTalk script -----
  354. on mouseUp
  355.   doMenu "Back"
  356. end mouseUp
  357.  
  358.  
  359.  
  360. -- part 28 (button)
  361. -- low flags: 00
  362. -- high flags: 0000
  363. -- rect: left=355 top=315 right=342 bottom=382
  364. -- title width / last selected line: 0
  365. -- icon id / first selected line: 25002 / 25002
  366. -- text alignment: 1
  367. -- font id: 0
  368. -- text size: 12
  369. -- style flags: 0
  370. -- line height: 16
  371. -- part name: Help
  372. ----- HyperTalk script -----
  373. on mouseUp
  374.   go to card id 3401
  375. end mouseUp
  376.  
  377.  
  378.